package com.icepuppet.controller;

import com.icepuppet.demo.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//简单实体参数
@RestController
public class UserController {
    @RequestMapping("/user")
    public String userParam(User user){
        System.out.println(user);
        return "OK";
    }
}
